import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';

import { RoleComponent } from './roles/role.component';
import { UsersComponent } from './users/users.component';


const routes: Routes = [
    {
        path: 'roles',
        component: RoleComponent
    },
    {
        path: 'users',
        component: UsersComponent
    }
];

@NgModule({
  imports: [ RouterModule.forChild(routes) ],
  exports: [ RouterModule ]
})
export class AdminRoutingModule { }
